package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingWorkOrder;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 运维管理-工单-后端实现接口类
 * @date 2020-12-16 17：54
 */
public interface WorkOrderService {
    Result<List<CcmsSmartleasingWorkOrder>> getAllByPage(QueryCriteria queryCriteria, String token);

    Result<List<CcmsSmartleasingWorkOrder>> getAllByCondition(QueryCriteria queryCriteria, String token);

    Result handleByWorkOrder(CcmsSmartleasingWorkOrder workOrder, String token);

    Result<CcmsSmartleasingWorkOrder> getWorkOrderById(String pkWorkOrderId);
}
